package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class Q {
    public static void main(String[] args) {
        //强制转换
        double d=10.2;
        int i=(int)d;
        System.out.println(i);
        double d2=100000000000000000000000.9;
        int k=(int)d2;
        System.out.println(k);
        System.out.println(">>>>>>>>>>>>>>>>>>>");
        char c='刘';
        int f=c;
        System.out.println(f);

        int s=21017;
        char c2=(char)s;
        System.out.println(c2);
    }
}
